import { _goodsList } from "../../../service/api";

Page({
  data: {},
  onLoad: function (options) {
    this.setData({ id: options.id });
    // this.initData();
  },
  initData() {
    _goodsList(this.data.id).then((res) => {
      console.log(res);
    });
  },
});
